package com.todo.partner.iface.frontend.request;

import com.todo.common.common.entity.CurrentUser;
import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author azhebuxing
 * @date 2024/6/4 13:51
 * @description
 */
@Data
@Schema(name = "查询内容搭子分页入参", description = "查询内容搭子分页入参")
public class QueryContentPartnerByPageParam extends PageRequest {

    private CurrentUser _user;

    @Schema(name = "搭子类型", description = "搭子类型")
    private Integer partnerContentType;

    @Schema(name = "城市", description = "城市")
    private String city;

    @Schema(name = "开始时间", description = "开始时间")
    private Date startPlanTime;

    @Schema(name = "结束时间", description = "结束时间")
    private Date endPlanTime;

    public boolean baseCheck() {
        if (city == null) {
            return false;
        }
        return true;
    }
}
